import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

Vue.config.productionTip = false
Vue.directive("color",{
  inserted(el,binding){
    el.style.backgroundColor = binding.value;
  },
  update(el,binding){
    el.style.backgroundColor = binding.value;
  }
})

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
